import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import elePuls from 'element-plus'
import 'element-plus/dist/index.css'
import imgFn from './directives/index.js'
// import './assets/main.css'

const app = createApp(App)
app.use(elePuls)
app.use(router)
app.directive('imageerror', imgFn.imageerror)

app.mount('#app')
